//
//  PlayListView.h
//  GC_OC
//
//  Created by wlf on 2022/5/16.
//

#import <UIKit/UIKit.h>
#import "PlayListTableView.h"
#import "GCAVPlayer.h"
NS_ASSUME_NONNULL_BEGIN

@interface PlayListView : UIView<UIGestureRecognizerDelegate,UIScrollViewDelegate>
@property (nonatomic, strong) PlayListTableView *currentTabView;
@property (nonatomic, strong) PlayListTableView *historyTabView;
@property (nonatomic, assign) NSInteger historySelectindex;
@property (nonatomic, assign) NSInteger currentSelectIndex;
@property (nonatomic, assign) CGPoint lastContentOffset;

@property (nonatomic, copy) void(^listPlayIndexBlock)(NSArray *dataSource,NSInteger index);
@property (nonatomic, copy) void(^historyPlayIndexBlock)(NSArray *dataSource,NSInteger index);
@property (nonatomic, copy) void(^closeViewBlock)(void);

@property (nonatomic, copy) NSString *subTitleStr;
@property (nonatomic, strong) NSArray *dataSource;
@property (nonatomic, strong) NSArray *currentArray;
@property (nonatomic, strong) UIScrollView *contentView;
     //当前选择的s定时下标
- (void)showIn:(UIView *)view listArray:(NSArray *)listArray IdStr:(NSString *)idStr;

@end

NS_ASSUME_NONNULL_END
